package com.friendc.PrJo;

import com.alibaba.fastjson.annotation.JSONField;

import java.util.Date;

/**
 * @Author 20424
 * @Date 2020/8/5 22:29
 * @Version 1.0
 */
public class friendc {
    public String id;
    public String content;
    public String FimgAddress;
    //1.fastjson解决时间格式的注解@JSONField(format="yyyy-MM-dd")
    public Date createtime;
    public String username;
    public String name;
    public String imgaddress;

    public friendc() {
    }

    public friendc(String id, String content, String fimgAddress, Date createtime,String username) {
        this.id = id;
        this.content = content;
        FimgAddress = fimgAddress;
        this.createtime = createtime;
        this.username=username;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getFimgAddress() {
        return FimgAddress;
    }

    public void setFimgAddress(String fimgAddress) {
        FimgAddress = fimgAddress;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getImgaddress() {
        return imgaddress;
    }

    public void setImgaddress(String imgaddress) {
        this.imgaddress = imgaddress;
    }
}
